home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / tex / macros / distribs / nfss / newlfont.sty < prev    next >
Text File  |  1992-11-29  |  5KB  |  141 lines

  1. %% 
  2. %% This is file `newlfont.sty', generated 
  3. %% on <1992/9/24> with the docstrip utility (2.0r).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% basefont.doc  (with options: `newlf')
  8. %% 
  9. %% Copyright (C) 1989-1992 by Frank Mittelbach, Rainer Schoepf. 
  10. %% All rights reserved. 
  11. %% 
  12. %% This file is part of the NFSS (New Font Selection Scheme) package. 
  13. %% 
  14. %% IMPORTANT NOTICE: 
  15. %% 
  16. %% You are not allowed to change this file. You may however copy 
  17. %% this file to a file with a different name and then change the copy 
  18. %% if you obey the restrictions on file changes described in 
  19. %% readme.mz. 
  20. %% 
  21. %% You are allowed to distribute this file under the condition that 
  22. %% it is distributed together with all files mentioned in readme.mz3. 
  23. %% If you receive only some of these files from someone, complain! 
  24. %% 
  25. %% You are NOT ALLOWED to distribute this file alone. You are NOT 
  26. %% ALLOWED to take money for the distribution or use of either this 
  27. %% file or a changed version, except for a nominal charge for copying 
  28. %% etc. 
  29. %% 
  30. %% For error reports in case of UNCHANGED versions see readme files. 
  31. %% 
  32. %% Please do not request updates from us directly. Distribution is 
  33. %% done through Mail-Servers and TeX organizations. 
  34. %% 
  35. \def\fileversion{v1.4d}
  36. \def\filedate{92/09/22}
  37. \def\docdate {92/09/22}
  38.  
  39. %% \CheckSum{626}
  40. %% \CharacterTable
  41. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  42. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  43. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  44. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  45. %%   Dollar        \$     Percent       \%     Ampersand     \&
  46. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  47. %%   Asterisk      \*     Plus          \+     Comma         \,
  48. %%   Minus         \-     Point         \.     Solidus       \/
  49. %%   Colon         \:     Semicolon     \;     Less than     \<
  50. %%   Equals        \=     Greater than  \>     Question mark \?
  51. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  52. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  53. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  54. %%   Right brace   \}     Tilde         \~}
  55. %%
  56. \immediate
  57.   \write\sixt@@n{Style-Option: `newlfont'
  58.  \fileversion\space <\filedate> (FMi and RmS)}
  59. \immediate
  60.  \write\sixt@@n{English Documentation
  61.   \@spaces\@spaces\space <\docdate> (FMi and RmS)}
  62.  \ifx\@latexerr\undefined\else
  63.  \@ifundefined{selectfont}
  64.      {\@latexerr{%
  65.        `newlfont' style option can only be used
  66.         with the new font selection scheme}\@eha
  67.        \endinput}{}
  68.  \fi
  69. \def\newfont#1#2{\@ifdefinable#1{\global
  70.                         \font#1=#2\relax}}
  71. \def\symbol#1{\char #1\relax}
  72. \def\@gobbletwo#1#2{}
  73. \let\load\@gobbletwo
  74. \def\@setsize#1#2#3#4{\@nomath#1%
  75.     \ifx\protect\relax
  76.       \let\@currsize#1%
  77.     \fi
  78.     \fontsize{#4}{#2}\selectfont}
  79. \def\prm{\not@math@alphabet\rm\mathrm
  80.          \fontfamily\rmdefault\selectfont}
  81. \def\psf{\not@math@alphabet\sf\mathsf
  82.          \fontfamily\sfdefault\selectfont}
  83. \def\ptt{\not@math@alphabet\tt\relax
  84.          \fontfamily\ttdefault\selectfont}
  85. \def\psl{\not@math@alphabet\sf\relax
  86.          \fontshape\sldefault\selectfont}
  87. \def\psc{\not@math@alphabet\sc\relax
  88.          \fontshape\scdefault\selectfont}
  89. \def\pit{\not@math@alphabet\it\relax
  90.          \fontshape\itdefault\selectfont}
  91. \def\pbf{\not@math@alphabet\bf\mathbf
  92.          \fontseries\bfdefault\selectfont}
  93. \def\em{\protect\pem}
  94. \def\pem{\@nomath\em \ifdim \fontdimen\@ne\font >\z@
  95.                        \normalshape \else \it \fi}
  96. \def\not@math@alphabet#1#2{%
  97.    \ifmmode
  98.      \ifx#2\relax
  99.        \errhelp{%
  100.             In NFSS fonts you need to define a new math alphabet^^J%
  101.             if you want to use a special font in math mode.%
  102.             }%
  103.      \else
  104.        \errhelp{%
  105.             Please use the math alphabet #2instead of
  106.             the #1command.%
  107.             }%
  108.      \fi
  109.      \errmessage{Command \noexpand#1not supported in math mode}%
  110.    \fi}
  111. \ifx\bffam\@undefined
  112.   \new@mathgroup\bffam
  113.   \new@mathgroup\sffam
  114. \fi
  115. \new@internalmathalphabet\mathbf\bffam{cmr}{bx}{n}
  116. \new@internalmathalphabet\mathsf\sffam{cmss}{m}{n}
  117.  \let\math@bgroup\begingroup
  118.  \def\math@egroup#1{#1\endgroup}
  119.  \ifx\lyfam\undefined
  120.  \new@mathgroup\lyfam
  121.  \define@mathgroup\mv@normal\lyfam
  122.        {lasy}{m}{n}
  123.  \define@mathgroup\mv@bold\lyfam
  124.        {lasy}{b}{n}
  125.  \edef\@tempa{\hexnumber@\lyfam}
  126.  \mathchardef\mho"0\@tempa 30
  127.  \mathchardef\Join"3\@tempa 31
  128.  \mathchardef\Box"0\@tempa 32
  129.  \mathchardef\Diamond"0\@tempa 33
  130.  \mathchardef\leadsto"3\@tempa 3B
  131.  \mathchardef\sqsubset"3\@tempa 3C
  132.  \mathchardef\sqsupset"3\@tempa 3D
  133.  \mathchardef\lhd"3\@tempa 01
  134.  \mathchardef\unlhd"3\@tempa 02
  135.  \mathchardef\rhd"3\@tempa 03
  136.  \mathchardef\unrhd"3\@tempa 04
  137.  \fi
  138. \endinput
  139. %% 
  140. %% End of file `newlfont.sty'.
  141.